/*
 * bw_Output.h
 *
 *  Created on: 2018年11月9日
 *      Author: linsainan
 */

#ifndef BW_OUTPUT_H_
#define BW_OUTPUT_H_

#include "public.h"
#include "cJSON.h"

#define BWENC_OUT_TYPE_SPTS	"SPTS"
#define BWENC_OUT_TYPE_MPTS	"MPTS"

#define BWENC_OUT_PROTO_UDP "UDP"

#ifdef __cplusplus
	extern "C" {
#endif
	const char* output_list();
	const char* output_edit(const char* json);
	void setOutput(cJSON* p_tmp,stENC_OUTSET*chl_info,char* tmpbuf);
	int out_ip_repeat(int real_id,unsigned int ip,unsigned short port);
#ifdef __cplusplus
	}
#endif

#endif /* BW_OUTPUT_H_ */
